package com.tm.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tm.dto.DishDTO;
import com.tm.entity.DishEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author huangp
 * @create 2023-04-05 10:33
 */
public interface DishMapper extends BaseMapper<DishEntity> {

    Page<DishEntity> pageList(Page<DishEntity> page1, @Param("ew") QueryWrapper<DishEntity> queryWrapper);

    Integer selectIds(List<Long> ids);

}
